<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2023/11/15
  Time: 17:38
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>书本详情</title>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/css/bookDetail.css"/>
</head>
<body>
<div class="container">
    <h3>查看某一本书的详情</h3>
    <c:if test="${not empty book}">
        <ul>
            <li>书名：${book.bookName}</li>
            <li>类型：${book.bookType}</li>
            <li>价格：${book.bookPrice}</li>
            <li>作者：${book.bookWriter}</li>
        </ul>
    </c:if>
    <c:if test="${empty book}">
        <p>未找到该书籍。</p>
    </c:if>
</div>
</body>
</html>
